#ifndef MAINWINDOWCONTROLLER_H
#define MAINWINDOWCONTROLLER_H

#include <QObject>

class MainWindowController : public QObject
{
    Q_OBJECT

    explicit MainWindowController(QObject *parent = 0);

public:

    static MainWindowController &instance();
    void changeTopPage(int);
    void changeSubPage(int);
    void initFinished();
    void updateIP(QString);
    void updateStatus();
    void changeBackground(QString);
signals:
    void changeTopPageSig(int);
    void changeSubPageSig(int);
    void initFinishedSig();
    void updateIPSig(QString);
    void updateStatusSig();
    void changeBackgroundSig(QString);
    
public slots:
    
};

#endif // MAINWINDOWCONTROLLER_H
